package com.woniu.adminservice.dao;

import com.woniu.adminservice.entity.ManagerAccount;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface ManagerAccountDao {
    ManagerAccount queryById(Integer id);

    List<ManagerAccount> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);
    
    List<ManagerAccount> findAll();

    List<ManagerAccount> queryAll(ManagerAccount managerAccount);

    int insert(ManagerAccount managerAccount);

    int update(ManagerAccount managerAccount);

    int deleteById(Integer id);

}